package com.alex.j2se.random;

import com.google.common.collect.Lists;
import org.apache.commons.lang3.RandomUtils;

import java.util.List;

/**
 * Author  : gaojun            <br/>
 * Date    : 2020/8/5                          <br/>
 * Time    : 4:56 下午                         <br/>
 * ---------------------------------------    <br/>
 * Desc    :
 */
public class RandomTest {
    public static void main(String[] args) {
        List list = Lists.newArrayList(3,5,2,4,6,9);
        for (int i = 0; i < 20; ++i) {
            System.out.println(RandomUtils.nextInt(0, 1));
        }
    }
}
